using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.IO;

namespace Pong
{
    public partial class FormScores : Form
    {
        public FormScores()
        {
            InitializeComponent();
        }

        public DialogResult ShowDialog(String scores_filename)
        {
            pongData.Clear();

            if (File.Exists(scores_filename))
            {
                pongData.ReadXml(scores_filename);
            }

            return ShowDialog();
        }
    }
}